package com.ttg.model.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 银行卡数据表
 * @author zhy
 * @date 2024/04/16 14:34
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tbl_bank_card_data_info")
public class BankCardDataInfo implements Serializable {


    private static final long serialVersionUID = 508007839464192501L;
    /**
     * id
     */
    @TableId(value = "id" , type = IdType.AUTO)
    private Long id;

    /**
     * 客户号
     */
    @TableField(value = "cst_id")
    private String cstId;


    /**
     * 银行卡号
     */
    @TableField(value = "bank_card_number")
    private String bankCardNumber;


    /**
     * 卡类型
     */
    @TableField(value = "card_type")
    private String cardType;


    /**
     * 卡类别
     */
    @TableField(value = "card_category")
    private String cardCategory;


    /**
     * 卡状态
     */
    @TableField(value = "card_status")
    private String cardStatus;


    /**
     * 卡bin
     */
    @TableField(value = "card_bin")
    private String cardBin;


    /**
     * 开户行
     */
    @TableField(value = "opening_bank")
    private String openingBank;


    /**
     * 开户时间
     */
    @TableField(value = "account_opening_time")
    private LocalDate accountOpeningTime;


    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;
}
